package smdc.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import smdc.common.annotation.Excel;
import smdc.common.core.domain.BaseEntity;

/**
 * 桌位对象 dining_table
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
public class DiningTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 桌号ID */
    private Long tableId;

    /** 桌号/包厢号 */
    @Excel(name = "桌号/包厢号")
    private String tableNumber;

    /** 桌位二维码URL */
    @Excel(name = "桌位二维码URL")
    private String qrCode;

    /** 容纳人数 */
    @Excel(name = "容纳人数")
    private Long capacity;

    /** 状态(0-空闲 1-占用) */
    @Excel(name = "状态(0-空闲 1-占用)")
    private Integer status;

    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableNumber(String tableNumber) 
    {
        this.tableNumber = tableNumber;
    }

    public String getTableNumber() 
    {
        return tableNumber;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("tableNumber", getTableNumber())
            .append("qrCode", getQrCode())
            .append("capacity", getCapacity())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
